﻿<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="UserSyncLogDetail_Grid_Grid.aspx.vb" Inherits="Map.UserSyncLogDetail_Grid" %>

<%@ Register TagPrefix="cnt" Namespace="Mysoft.Map.Application.Controls" Assembly="Mysoft.Map.Application.Components" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
    <title>域用户同步日志详情</title>
    <meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1">
    <meta name="CODE_LANGUAGE" content="Visual Basic .NET 7.1">
    <meta name="vs_defaultClientScript" content="JavaScript">
    <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
    
    <link rel="stylesheet" type="text/css" href="/_grid/map_grid.css">
    <link rel="stylesheet" type="text/css" href="/_nav/menu.css">
    <script language="javascript" src="/_common/scripts/global.js"></script>
    <link rel="stylesheet" type="text/css" href="/_forms/styles/form.css">
    <link rel="stylesheet" type="text/css" href="/_controls/find/find.css">
    <link rel="stylesheet" type="text/css" href="/_common/styles/global.css">
    <script language="javascript" src="/_common/scripts/global.js"></script>
    <script language="javascript" src="/_controls/settings.aspx"></script>
    <script language="javascript" src="/_controls/util/util.js"></script>
    <script language="javascript" src="/_controls/datetime/date.js"></script>
    <script language="javascript" src="/_controls/number/number.js"></script>
    <script language="javascript" src="/_nav/menu.js"></script>
    <link href="/_nav/tabs.css" type="text/css" rel="stylesheet">

    <script language="javascript">

        window.onload = function()
        {
            switchTabPage("Added");
        }

        function switchTabPage(strName)
        {
            if (document.getElementById("__oid") == null || !__oid.value) return;
            
            switch (strName)
            {
                case "Added":
                    if (frmUserAdd.frameElement.src == "")
                    {
                        frmUserAdd.frameElement.src = "UserSyncLogDetail_Grid_Added.aspx?oid="+__oid.value;
                        frmUserAdd.frameElement.style.display == "inline";
                        frmUserModify.frameElement.style.display == "none";
                        frmUserDisabled.frameElement.style.display == "none";
                        frmUserEnabled.frameElement.style.display == "none";
                        frmCompanyChanged.frameElement.style.display == "none";
                    }
                    break;
                case "Modified":
                    if (frmUserModify.frameElement.src == "")
                    {
                        frmUserAdd.frameElement.style.display == "none"
                        frmUserModify.frameElement.src = "UserSyncLogDetail_Grid_Modified.aspx?oid=" + __oid.value;
                        frmUserModify.frameElement.style.display == "inline"
                        frmUserDisabled.frameElement.style.display == "none";
                        frmUserEnabled.frameElement.style.display == "none";
                        frmCompanyChanged.frameElement.style.display == "none";
                    }                
                    break;
                case "Disabled":
                    if (frmUserDisabled.frameElement.src == "")
                    {
                        frmUserAdd.frameElement.style.display == "none"
                        frmUserModify.frameElement.style.display == "none";
                        frmUserDisabled.frameElement.src = "UserSyncLogDetail_Grid_Disabled.aspx?oid=" + __oid.value;
                        frmUserDisabled.frameElement.style.display == "inline"
                        frmUserEnabled.frameElement.style.display == "none";
                        frmCompanyChanged.frameElement.style.display == "none";
                    } 
                    break;
                case "Enabled":
                    if (frmUserEnabled.frameElement.src == "")
                    {
                        frmUserAdd.frameElement.style.display == "none"
                        frmUserModify.frameElement.style.display == "none";
                        frmUserDisabled.frameElement.style.display == "none";
                        frmUserEnabled.frameElement.src = "UserSyncLogDetail_Grid_Enabled.aspx?oid=" + __oid.value;
                        frmUserEnabled.frameElement.style.display == "inline"
                        frmCompanyChanged.frameElement.style.display == "none";
                    } 
                    break;
                case "CompanyChanged":
                    if (frmCompanyChanged.frameElement.src == "")
                    {
                        frmUserAdd.frameElement.style.display == "none"
                        frmUserModify.frameElement.style.display == "none";
                        frmUserDisabled.frameElement.style.display == "none";
                        frmUserEnabled.frameElement.style.display == "none";
                        frmCompanyChanged.frameElement.src = "UserSyncLogDetail_Grid_CompanyChanged.aspx?oid=" + __oid.value;
                        frmCompanyChanged.frameElement.style.display == "inline"
                    } 
                    break;
            }
        }

    </script>
</head>
<body ms_positioning="GridLayout" style="background-color:White;padding:0px;margin:0px;">
    <table width="100%" height="100%" cellspacing="0" cellpadding="0">
        <tbody>
            <tr height="25">
                <td>
                    <table cellspacing="0" cellpadding="0" class="tabBar" onafterchange="">
                        <tr>
                            <td id="tabs" nowrap valign="bottom">
                                <span tabIndex="0" class="tab tabOn" tabID="tab0" onclick="switchTabPage('Added')">增加用户</span><span tabIndex="1" class="tab" tabID="tab1"  onclick="switchTabPage('Modified')">修改用户</span><span tabIndex="2" class="tab" tabID="tab2" onclick="switchTabPage('Disabled')">禁用用户</span><span tabIndex="3" class="tab" tabID="tab3" onclick="switchTabPage('Enabled')">启用用户</span><span tabIndex="4" class="tab" tabID="tab4" onclick="switchTabPage('CompanyChanged')">变更公司用户</span>
                            </td>
                        </tr>
                    </table>
                    <hr id="hrSelectedTab" class="tabGlow">
                    <hr id="hrGlowTab" class="tabGlow">
                </td>
            </tr>
            <tr>
                <td valign="top">
                    <div class="tab" id="tab0" style="display: inline">
                        <table cellspacing="0" cellpadding="0" border="0" height="100%" width="100%">
                            <tr>
                                <td>
                                    <iframe id="frmUserAdd" src="" frameborder="no" height="100%" width="100%" scrolling="no" style="display: inline"></iframe>
                                </td>
                            </tr>
                        </table>
                    </div>
                    <div class="tab" id="tab1">
                        <table cellspacing="0" cellpadding="0" border="0" height="100%" width="100%">
                            <tr>
                                <td>
                                    <iframe id="frmUserModify" src="" frameborder="no" height="100%" width="100%"  scrolling="no" style="display: inline"></iframe>
                                </td>
                            </tr>
                        </table>
                    </div>
                    <div class="tab" id="tab2">
                        <table cellspacing="0" cellpadding="0" border="0" height="100%" width="100%">
                            <tr>
                                <td>
                                    <iframe id="frmUserDisabled" src="" frameborder="no" height="100%" width="100%"  scrolling="no" style="display: inline"></iframe>
                                </td>
                            </tr>
                        </table>
                    </div>
                    <div class="tab" id="tab3">
                        <table cellspacing="0" cellpadding="0" border="0" height="100%" width="100%">
                            <tr>
                                <td>
                                    <iframe id="frmUserEnabled" src="" frameborder="no" height="100%" width="100%" scrolling="no" style="display: inline"></iframe>
                                </td>
                            </tr>
                        </table>
                    </div>
                    <div class="tab" id="tab4">
                        <table cellspacing="0" cellpadding="0" border="0" height="100%" width="100%">
                            <tr>
                                <td>
                                    <iframe id="frmCompanyChanged" src="" frameborder="no" height="100%" width="100%" scrolling="no" style="display: inline"></iframe>
                                </td>
                            </tr>
                        </table>
                    </div>                                        
                </td>
            </tr>
        </tbody>
    </table>
</body>
</html>
